package com.rykj.widget.bottomnavigation;

import android.graphics.drawable.Drawable;

/**
 * description:
 * @author ycw
 */
public class NavigationItem implements NavigationBottomView.BottomViewModle {

    private Drawable drawable;
    private String text;

    public NavigationItem(Drawable drawable, String text) {
        this.drawable = drawable;
        this.text = text;
    }

    public NavigationItem() {
    }

    @Override
    public CharSequence getNavText() {
        return text;
    }

    @Override
    public Drawable getNavDrawable() {
        return drawable;
    }
}